package com.gm.springboot.bean;

/**
 * @Author: 阮渝轩
 * @Date: 2020/7/4 1:47
 * @Version 1.0
 */
public class Manga {
    private Integer mid;
    private String mname;
    private String cartoonist;//作者
    private Integer chapters;//章节数
    private String publisher;//出版社

    public Manga() {
    }

    public Manga(Integer mid, String mname, String cartoonist, Integer chapters, String publisher) {
        this.mid = mid;
        this.mname = mname;
        this.cartoonist = cartoonist;
        this.chapters = chapters;
        this.publisher = publisher;
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public String getMname() {
        return mname;
    }

    public void setMname(String mname) {
        this.mname = mname;
    }

    public String getCartoonist() {
        return cartoonist;
    }

    public void setCartoonist(String cartoonist) {
        this.cartoonist = cartoonist;
    }

    public Integer getChapters() {
        return chapters;
    }

    public void setChapters(Integer chapters) {
        this.chapters = chapters;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    @Override
    public String toString() {
        return "Manga{" +
                "mid=" + mid +
                ", mname='" + mname + '\'' +
                ", cartoonist='" + cartoonist + '\'' +
                ", chapters=" + chapters +
                ", publisher='" + publisher + '\'' +
                '}';
    }
}
